fix: add raise_for_status to CircleCI workflow API call#1083
Merged
johanneskoester merged 4 commits intobioconda:masterfrom Mar 4, 2026
Merged
fix: add raise_for_status to CircleCI workflow API call#1083johanneskoester merged 4 commits intobioconda:masterfrom
johanneskoester merged 4 commits intobioconda:masterfrom
Conversation
Missing check causes KeyError: 'items' when the API returns an error.
johanneskoester
pushed a commit
that referenced
this pull request
Mar 4, 2026
🤖 I have created a release *beep* *boop* --- ## [4.1.0](v4.0.0...v4.1.0) (2026-03-04) ### Features * eliminate redundant host-side solver run for Docker builds ([#1081](#1081)) ([3d4c9e1](3d4c9e1)) * pre-solved environments for mulled tests ([#1082](#1082)) ([af1ac9c](af1ac9c)) ### Bug Fixes * add raise_for_status to CircleCI workflow API call ([#1083](#1083)) ([2f558ee](2f558ee)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add missing
raise_for_status()call after the CircleCI/workflow/{id}/jobAPI request inget_circleci_artifacts. Without it, an HTTP error (e.g. 500) causesKeyError: 'items'instead of a clear HTTP error.See failed CircleCI pipeline #178886 (
build_and_upload-osx-arm64,build_and_upload-linux-aarch64).